﻿using System;
using System.Collections.Generic;
using System.Text;

using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using H2.NET.Data.Common.Validates;

namespace H2.NET.Business
{
    [Table]
    [Serializable]
    public partial class TW_Value_DiscountE_Gridview : DataObject
    {
        [ID]
        [DID]
        public string ID { get { return _ID; } set { _ID = value; EntityState.FieldChange("ID"); } } private string _ID; public static FieldInfo iD = new FieldInfo("TW_Value_DiscountE_Gridview", "ID");
        [Column]
        public string Process { get { return _Process; } set { _Process = value; EntityState.FieldChange("Process"); } } private string _Process; public static FieldInfo process = new FieldInfo("TW_Value_DiscountE_Gridview", "Process");
        [Column]
        public int Incident { get { return _Incident; } set { _Incident = value; EntityState.FieldChange("Incident"); } } private int _Incident; public static FieldInfo incident = new FieldInfo("TW_Value_DiscountE_Gridview", "Incident");
        [Column]
        public string UserName { get { return _UserName; } set { _UserName = value; EntityState.FieldChange("UserName"); } } private string _UserName; public static FieldInfo userName = new FieldInfo("TW_Value_DiscountE_Gridview", "UserName");
        [Column]
        public int No { get { return _No; } set { _No = value; EntityState.FieldChange("No"); } } private int _No; public static FieldInfo no = new FieldInfo("TW_Value_DiscountE_Gridview", "No");
        [Column]
        public string E_Customer { get { return _E_Customer; } set { _E_Customer = value; EntityState.FieldChange("E_Customer"); } } private string _E_Customer; public static FieldInfo e_Customer = new FieldInfo("TW_Value_DiscountE_Gridview", "E_Customer");
        [Column]
        public string E_SOCustomer { get { return _E_SOCustomer; } set { _E_SOCustomer = value; EntityState.FieldChange("E_SOCustomer"); } } private string _E_SOCustomer; public static FieldInfo e_SOCustomer = new FieldInfo("TW_Value_DiscountE_Gridview", "E_SOCustomer");
        [Column]
        public string E_Cust_Group { get { return _E_Cust_Group; } set { _E_Cust_Group = value; EntityState.FieldChange("E_Cust_Group"); } } private string _E_Cust_Group; public static FieldInfo e_Cust_Group = new FieldInfo("TW_Value_DiscountE_Gridview", "E_Cust_Group");
        [Column]
        public string E_Sales_Off { get { return _E_Sales_Off; } set { _E_Sales_Off = value; EntityState.FieldChange("E_Sales_Off"); } } private string _E_Sales_Off; public static FieldInfo e_Sales_Off = new FieldInfo("TW_Value_DiscountE_Gridview", "E_Sales_Off");
        [Column]
        public string E_Subgroup { get { return _E_Subgroup; } set { _E_Subgroup = value; EntityState.FieldChange("E_Subgroup"); } } private string _E_Subgroup; public static FieldInfo e_Subgroup = new FieldInfo("TW_Value_DiscountE_Gridview", "E_Subgroup");
        [Column]
        public string E_Tin_Size { get { return _E_Tin_Size; } set { _E_Tin_Size = value; EntityState.FieldChange("E_Tin_Size"); } } private string _E_Tin_Size; public static FieldInfo e_Tin_Size = new FieldInfo("TW_Value_DiscountE_Gridview", "E_Tin_Size");
        [Column]
        public string E_Status { get { return _E_Status; } set { _E_Status = value; EntityState.FieldChange("E_Status"); } } private string _E_Status; public static FieldInfo e_Status = new FieldInfo("TW_Value_DiscountE_Gridview", "E_Status");
        [Column]
        public string E_Description { get { return _E_Description; } set { _E_Description = value; EntityState.FieldChange("E_Description"); } } private string _E_Description; public static FieldInfo e_Description = new FieldInfo("TW_Value_DiscountE_Gridview", "E_Description");
        [Column]
        public string E_Proc { get { return _E_Proc; } set { _E_Proc = value; EntityState.FieldChange("E_Proc"); } } private string _E_Proc; public static FieldInfo e_Proc = new FieldInfo("TW_Value_DiscountE_Gridview", "E_Proc");
        [Column]
        public string E_Scale_quantity { get { return _E_Scale_quantity; } set { _E_Scale_quantity = value; EntityState.FieldChange("E_Scale_quantity"); } } private string _E_Scale_quantity; public static FieldInfo e_Scale_quantity = new FieldInfo("TW_Value_DiscountE_Gridview", "E_Scale_quantity");
        [Column]
        public string E_Amount { get { return _E_Amount; } set { _E_Amount = value; EntityState.FieldChange("E_Amount"); } } private string _E_Amount; public static FieldInfo e_Amount = new FieldInfo("TW_Value_DiscountE_Gridview", "E_Amount");
        [Column]
        public string E_Unit { get { return _E_Unit; } set { _E_Unit = value; EntityState.FieldChange("E_Unit"); } } private string _E_Unit; public static FieldInfo e_Unit = new FieldInfo("TW_Value_DiscountE_Gridview", "E_Unit");
        [Column]
        public string E_Per { get { return _E_Per; } set { _E_Per = value; EntityState.FieldChange("E_Per"); } } private string _E_Per; public static FieldInfo e_Per = new FieldInfo("TW_Value_DiscountE_Gridview", "E_Per");
        [Column]
        public string E_Uom { get { return _E_Uom; } set { _E_Uom = value; EntityState.FieldChange("E_Uom"); } } private string _E_Uom; public static FieldInfo e_Uom = new FieldInfo("TW_Value_DiscountE_Gridview", "E_Uom");
        [Column]
        public string E_Calculat_Type { get { return _E_Calculat_Type; } set { _E_Calculat_Type = value; EntityState.FieldChange("E_Calculat_Type"); } } private string _E_Calculat_Type; public static FieldInfo e_Calculat_Type = new FieldInfo("TW_Value_DiscountE_Gridview", "E_Calculat_Type");
        [Column]
        public string E_ScaleBasis { get { return _E_ScaleBasis; } set { _E_ScaleBasis = value; EntityState.FieldChange("E_ScaleBasis"); } } private string _E_ScaleBasis; public static FieldInfo e_ScaleBasis = new FieldInfo("TW_Value_DiscountE_Gridview", "E_ScaleBasis");
        [Column]
        public string E_Valid_From { get { return _E_Valid_From; } set { _E_Valid_From = value; EntityState.FieldChange("E_Valid_From"); } } private string _E_Valid_From; public static FieldInfo e_Valid_From = new FieldInfo("TW_Value_DiscountE_Gridview", "E_Valid_From");
        [Column]
        public string E_Valid_To { get { return _E_Valid_To; } set { _E_Valid_To = value; EntityState.FieldChange("E_Valid_To"); } } private string _E_Valid_To; public static FieldInfo e_Valid_To = new FieldInfo("TW_Value_DiscountE_Gridview", "E_Valid_To");
        [Column]
        public DateTime Time { get { return _Time; } set { _Time = value; EntityState.FieldChange("Time"); } } private DateTime _Time; public static FieldInfo time = new FieldInfo("TW_Value_DiscountE_Gridview", "Time");
        [Column]
        public int Status { get { return _Status; } set { _Status = value; EntityState.FieldChange("Status"); } } private int _Status; public static FieldInfo status = new FieldInfo("TW_Value_DiscountE_Gridview", "Status");

    }
}
